let lastCall = 0
 
/**
*节流函数
*/
 
 function throttle(fn,delay,info){
    const now = new Date().getTime();
    if(now-lastCall<delay){
        return
    }
    lastCall = now
	const args = Array.prototype.slice.call(arguments); // 将 arguments 转换为数组  
    
	console.log(args,'----------------');
    fn(info)
	// fn.apply(this,args)
  
}
export default{ throttle}